
public class ScaleDriver {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		IPowerControl powerCtrl = new PowerControlStub();
		IDisplay display = new ConsoleDisplay();
		ISoundDevice soundDevice = new ConsoleSoundDevice();
		
		Scale scale = new Scale(powerCtrl, display, soundDevice, 5000);
		
		Weighable weight1 = new Weighable(250.456677);
		scale.weigh(weight1);
	}

}
